package cn.edu.javaweb.service;

import java.util.List;

import cn.edu.javaweb.javabean.Notice;
import cn.edu.javaweb.utils.DBUtil;



public class NoticeService {
	public List<Notice> getNotices(){
		DBUtil db;
		db=new DBUtil();
		db.init();
		List list = db.getList("select * from notice");
		return list;

		
	}

}
